home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / wrdhplj.arc / FIX_DAT.DOC < prev    next >
Text File  |  1989-04-14  |  3KB  |  66 lines

  1.                         Documentation File for FIX_DAT.EXE
  2.  
  3.          This program was written because I couldn't print 12 point
  4.          Helvetica and 12 Point Zapfhumanist on the same page on my HP
  5.          Laserjet II printer.  It was a letter to the IRS and was sorta
  6.          important.
  7.  
  8.          I called MS Support and was told that there was a "problem" with
  9.          the MERGEPRD program.  Well, I though, I'll just write my own
  10.          download program that doesn't use the .DAT file where the problem
  11.          lies.  I soon changed my mind.  I decided instead to write a
  12.          program to fix the .DAT file that the DOWN program reads to send
  13.          control codes to the printer.
  14.  
  15.          The problem with the .DAT file is a follows:  When MERGEPRD
  16.          creates the .DAT file for the new PRD file, it doesn't bother to
  17.          assign each possible font a unique number as required by the
  18.          Laserjet.  Consequently, if two fonts that you might want to use
  19.          happen to have the same number, the second font file overlays the
  20.          first in the printer and you no longer have use of the first font.
  21.  
  22.          The syntax of the command line is:
  23.  
  24.          FIX_DAT filename.dat [/F:P]
  25.  
  26.          FIX_DAT.EXE fixes this problem by performing the following steps:
  27.  
  28.          1.  It looks for the .DAT file you specify in the current
  29.          directory.  It makes no attemp at anything fancy.  You have to run
  30.          the program from the directory where the .DAT file resides.
  31.  
  32.          2.  It immediately renames the .DAT file you specify by changing
  33.          the extension of the file to .OLD, i.e. HPFONTS.DAT becomes
  34.          HPFONTS.OLD. This is a precaution that will allow you to recover
  35.          the original .DAT file if you change your mind.
  36.  
  37.          3.  It writes a new .DAT file to the current directory with the
  38.          fonts renumbered in such a way that the Laserjet can use them
  39.          without overlaying them.
  40.  
  41.          4.  If you have specified the optional '/F:P' parameter, the
  42.          new .DAT file will create permanant soft fonts instead of the
  43.          normal temporary soft fonts that MERGEPRD and MAKEPRD create.
  44.          This will allow you to use the FONT PRINT capabilities of the
  45.          Laserjet to look at the fonts that have been downloaded.  Again,
  46.          this is optional. If you specify nothing, the fonts will be
  47.          created as temporary.
  48.  
  49.          It should be noted that this program is of the "Quick and
  50.          Dirty" variety, and as such, extensive error trapping and checking
  51.          are not performed. Don't use this on any .DAT file that doesn't
  52.          have HP Softfont codes.  It is not a general all purpose
  53.          fix-it-all do everything kind of program.  It fixes .DAT files
  54.          that were created by MERGEPRD which contain combined HP LJ
  55.          soft fonts. Period.
  56.  
  57.          I hope you can use this program. Comments are welcome to:
  58.  
  59.              Clark Hensley,  72177,622
  60.         or on MCI Mail to: CHENSLEY
  61.  
  62.          My telephone number is 415-621-3700 from 9:00-5:00 (Pacific
  63.          Daylight Time).  My idea of a great start to a great day is not to
  64.          receive a HELP call from some unthinking person calling from the
  65.          Eastern Time Zone at 8:00 AM THEIR time. (;{)
  66.